package com.jiaai.cloud.gift.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;


/**
 * <p>
 *
 * </p>
 *
 * @author 佳爱网络科技
 * @since 2017-08-09
 */
@TableName("t_live_gift_type")
public class TLiveGiftType extends Model<TLiveGiftType> {

    private static final long serialVersionUID = 1L;

	@TableId(value="typeId", type= IdType.AUTO)
	private Integer typeId;
	private String typeName;

	private  int order;


	@JSONField(format = "YYYY-MM-DD")
	private Date createTime;


	public Integer getTypeId() {
		return typeId;
	}

	public void setTypeId(Integer typeId) {
		this.typeId = typeId;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public int getOrder() {
		return order;
	}

	public void setOrder(int order) {
		this.order = order;
	}

	@Override
	protected Serializable pkVal() {
		return this.typeId;
	}

}
